import React, { Suspense } from "react";
import { Outlet } from "react-router-dom";
import NavBar from "@/views/discover/c-components/nav-bar";

function Discover() {
  return (
    <div>
      <div>
        <NavBar></NavBar>
      </div>
      <Suspense fallback={<div>加载中...</div>}>
        <Outlet></Outlet>
      </Suspense>
    </div>
  );
}

export default Discover;
